package demo01.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class HelloServiceBlockHandler {

    public static String blockHandle(String name, BlockException e){
        log.info("当前处理的方法正在处理降级逻辑",e);
        return " sayHi方法 被sentinel限制流量啦";
    }
}
